<form action="" method="POST" id="updateApproveFrm" name="updateApproveFrm" autocomplete="off">
	<div id="form-contents">
		<?php
			$arrResult = $this->arrResult;
			echo $this->formHidden('TIL01','',null);
			echo $this->formHidden('hdn_attachFile',$this->attachFile,null);
			echo $this->formHidden('LeaderNameHdn',$this->LeaderName,null);
			echo $this->formHidden('CreaterNameHdn',$arrResult['TD05'],null);
		?>
		<div>
			<div class="form-update info_general">
				<div class="normal_title"><?=$this->titleBody;?></div>
				<div class="normal_label divleft">Tên bài giảng:</div>
				<div class="normal_label divright"><?php echo $arrResult['TD02'];?></div>
				<?php if ($this->sFile != ''){?>
					<div class="normal_label divleft"><label class="normal_label">File đính kèm: </div>
					<div class="normal_label divright"><?=$this->sFile;?></div>
				<?}?>
				<div class="normal_label divleft">Bài giảng thuộc: </div>
				<div class="normal_label divright"><?php echo $arrResult['TR04'];?></div>
				<div class="normal_label divleft">Lớp học: </div>
				<div class="normal_label divright"><?php echo $arrResult['TD19']?></div>
				<div class="normal_label divleft">Năm học: </div>
				<div class="normal_label divright"><?php echo $arrResult['TD0809'];?></div>
				<div class="normal_label divleft">Ý kiến giáo viên soạn thảo: </div>
				<div class="normal_label divright"><?php echo $arrResult['TD17'];?></div>
			</div>
			<div class="form-update">
				<div class="normal_title"><?=$this->titleBody1;?></div>
				<div class="normal_label divleft">Ngày thực hiện <small class="normal_starmark">*</small></div>
				<div class="normal_label divright"><input id="TIL04" value="<?php echo date('d').'/'.date('m').'/'.date('Y');?>" class="normal_textbox" type="text" onkeyup="DateOnkeyup(this,event)"  name="TIL04" date="isdate" option="false" message="Ngày thực hiện không đúng định dạng ngày/tháng/năm" /></div>
				<div class="normal_label divleft">Trạng thái phê duyệt</div>
				<div class="normal_label divright1">
					<input type="radio" id="DA_DUYET" name="approve_radio" value="DA_DUYET" style="display:inline"/>
					<label class="normal_label" for="DA_DUYET">Duyệt nội dung</label></div>
				<div class="normal_label divright1">
					<input type="radio" id="KHONG_DUYET" name="approve_radio" value="KHONG_DUYET" style="display:inline"/>
					<label class="normal_label" for="KHONG_DUYET">Không duyệt nội dung</label></div>
				<div style="clear:both;"></div>	
				<div class="normal_label divleft" style="vertical-align: top;">Ý kiến phê duyệt <small class="normal_starmark">*</small></div>
				<div class="normal_label divright">
					<textarea class="textarea_tab input10"  rows="5" type="text" id="sContent" name="sContent"></textarea></div>
				<div style="clear:both;"></div>
				<div id = "div_attach_file">
					<?php echo $this->attachFile;?>		
				</div>
				<div style="clear:both;"></div>
				<div class="normal_label ">
					<label class="normal_label" id="approve_log" name="log" value="approve_log" >Nhật ký duyệt nội dung soạn giảng |</label>
					<label class="normal_label" id="create_log" name="log" value="create_log">Nhật ký soạn thảo</label></div>
				<div style="clear:both;"></div>		
				<div class="normal_title divright1"><?=$this->titleBody2;?></div>
				<div class="button-container divright2" style="text-align: right;">
							<input id = "updatebtn" type="button" value="Cập nhật" class="link-button updatebtn" style="display:inline">
							<input id = "editbtn" type="button" value="Sửa" class="link-button editbtn" style="display:inline">
							<input id = "deletecmmbtn" type="button" value="Xóa" class="link-button deletebtn" style="display:inline">
				</div>
			</div>
			<div id = "table-approved"></div>
			<div class="button-container">
				<input id = "back"  type="button" value="Quay lại" class="link-button clback" style="display:inline">
			</div>  
		</div>
	</div>
</form>	
<script type="text/javascript">
	jQuery(document).ready(function() {
			lddadepicker();
		});
	var dirxml = baseUrl+'/xml/view/training/approved.xml';
	var dirxml1 = baseUrl+'/xml/view/training/commented.xml';
	if(typeof(xmlapprove) === 'undefined' ){
		xmlapprove = new efyXml(dirxml,'myTrainingApprove');
	}
	if(typeof(xmlcomment) === 'undefined' ){
		xmlcomment = new efyXml(dirxml1,'myTrainingApprove');
	}		
</script>	
<style>
.ui-widget-header {
		background: none;
		background-color: #3774B7;
		border-bottom: 1px solid #BCCDDD;
		border-color: #BCCDDD;
		box-shadow: 0 0 2px rgba(0, 0, 0, 0.52);
		font-family: Arial,Helvetica,sans-serif;
		text-align: center;
		font-size: 11px;
		font-weight: bold;
		color: #FFF701;
		line-height: 20px;
		padding: 0 1px !important;
	}
.jstree-default a.jstree-search {
	color: #1A62B4;
	font-weight: bold;
}
</style>